package com.example.springcoudribbon.controller;

import com.example.springcoudribbon.service.ConsumerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class RibbonController {

    @Autowired
    private ConsumerService consumerService;

    @RequestMapping("getRibbon")
    public String getRibbon(){
        return consumerService.getRibbon();
    }
}
